import axios from '@/utils/request';

export function getLoadButtonIsShow(params) {
    return axios.post({
        url: '/config-carousel/loadButtonIsShow',
        data: params
    }).then((res) => {
        return res
    })
}

export function getConfigCarouselListAll(params) {
    return axios.post({
        url: '/config-carousel/listAll',
        data: params
    }).then((res) => {
        return res
    })
}
export function getConfigCarouselList(params) {
    return axios.post({
        url: '/config-carousel/list',
        data: params
    }).then((res) => {
        return res
    })
}

export function editConfigCarousel(params) {
    return axios.post({
        url: '/config-carousel/edit',
        data: params
    }).then((res) => {
        return res
    })
}

export function deleteConfigCarousel(params) {
    return axios.post({
        url: '/config-carousel/delete',
        data: params
    }).then((res) => {
        return res
    })
}

export function loadConfigCarousel(params) {
    return axios.post({
        url: '/config-carousel/load',
        data: params
    }).then((res) => {
        return res
    })
}

